package com.itheima.model.book.vos;

import com.itheima.model.book.pojos.Book;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper=false)
public class BookVo extends Book implements Serializable {
    private static final long serialVersionUID = 1L;
    //阅读量
    private Integer readCount;
    //笔记数量
    private Integer noteCount;
    //书评数量
    private Integer reviewCount;
    //收藏数量
    private Integer collectCount;
}
